package core

import "gark-elastic-job/common"

type Saver interface {
	// save to storage system
	Save(common.JobExecutionLog)
	// check the execution log is exist in the storage system
	// avoid to repeat insert
	CheckExist(string) (bool, error)
	// update execution log
	Update(common.JobExecutionLog)
}
